#ifndef GLWIDGET_H
#define GLWIDGET_H

#include <QtOpenGL>
#include <QGLWidget>
#include <QtGui/qvector3d.h>
#include <QtGui/qmatrix4x4.h>
#include <QtOpenGL/qglshaderprogram.h>
#include <QTime>
#include <QVector>
#include <QBrush>
#include <QPen>

class GLWidget : public QGLWidget {
	Q_OBJECT

	public:
		GLWidget(QWidget *parent = 0);
		~GLWidget();

	protected:
		void paintGL();
		void initializeGL();

	private:
		QGLFramebufferObject *xParam;
		QGLFramebufferObject *yParam;

		QGLShaderProgram program;
		int vertexAttr;
		int texCoordAttr;
		int matrixUniform;
		int textureUniform;
};
#endif
